package com.jz.netthings.application.providerCollection.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 采浆记录-采浆过程
 * </p>
 *
 * @author zyl
 * @since 2019-03-28
 */
public class ProviderCollectionProcess implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 采浆记录id
     */
    private String procId;
    /**
     * 采层
     */
    private Integer floor;
    /**
     * 采集开始时间
     */
    private Date collectStarttime;
    /**
     * 采集结束时间
     */
    private Date collectEndtime;
    /**
     * 采集量
     */
    private Integer collectNums;
    /**
     * 采集速度
     */
    private Integer collectSpeed;
    /**
     * 采集耗时
     */
    private Integer collectTaken;
    /**
     * 回输开始时间
     */
    private Date reinfusionStarttime;
    /**
     * 回输结束时间
     */
    private Date reinfusionEndtime;
    /**
     * 回输量
     */
    private Integer reinfusionNums;
    /**
     * 回输速度
     */
    private Integer reinfusionSpeed;
    /**
     * 回输耗时
     */
    private Integer reinfusionTaken;
    /**
     * 抗凝剂用量
     */
    private Float antiNums;
    /**
     * 盐水用量
     */
    private Integer soilNums;
    /**
     * HCT
     */
    private Float htc;
    /**
     * 血泵特征值
     */
    private Float materialtag;
    /**
     * 同步时间
     */
    private Date synctime;
    /**
     * 操作时间
     */
    private Date opertime;
    /**
     * 机器号
     */
    private String macId;


    public String getProcId() {
        return procId;
    }

    public void setProcId(String procId) {
        this.procId = procId;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCollectStarttime() {
        return collectStarttime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCollectStarttime(Date collectStarttime) {
        this.collectStarttime = collectStarttime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCollectEndtime() {
        return collectEndtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCollectEndtime(Date collectEndtime) {
        this.collectEndtime = collectEndtime;
    }

    public Integer getCollectNums() {
        return collectNums;
    }

    public void setCollectNums(Integer collectNums) {
        this.collectNums = collectNums;
    }

    public Integer getCollectSpeed() {
        return collectSpeed;
    }

    public void setCollectSpeed(Integer collectSpeed) {
        this.collectSpeed = collectSpeed;
    }

    public Integer getCollectTaken() {
        return collectTaken;
    }

    public void setCollectTaken(Integer collectTaken) {
        this.collectTaken = collectTaken;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getReinfusionStarttime() {
        return reinfusionStarttime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setReinfusionStarttime(Date reinfusionStarttime) {
        this.reinfusionStarttime = reinfusionStarttime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getReinfusionEndtime() {
        return reinfusionEndtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setReinfusionEndtime(Date reinfusionEndtime) {
        this.reinfusionEndtime = reinfusionEndtime;
    }

    public Integer getReinfusionNums() {
        return reinfusionNums;
    }

    public void setReinfusionNums(Integer reinfusionNums) {
        this.reinfusionNums = reinfusionNums;
    }

    public Integer getReinfusionSpeed() {
        return reinfusionSpeed;
    }

    public void setReinfusionSpeed(Integer reinfusionSpeed) {
        this.reinfusionSpeed = reinfusionSpeed;
    }

    public Integer getReinfusionTaken() {
        return reinfusionTaken;
    }

    public void setReinfusionTaken(Integer reinfusionTaken) {
        this.reinfusionTaken = reinfusionTaken;
    }

    public Float getAntiNums() {
        return antiNums;
    }

    public void setAntiNums(Float antiNums) {
        this.antiNums = antiNums;
    }

    public Integer getSoilNums() {
        return soilNums;
    }

    public void setSoilNums(Integer soilNums) {
        this.soilNums = soilNums;
    }

    public Float getHtc() {
        return htc;
    }

    public void setHtc(Float htc) {
        this.htc = htc;
    }

    public Float getMaterialtag() {
        return materialtag;
    }

    public void setMaterialtag(Float materialtag) {
        this.materialtag = materialtag;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getSynctime() {
        return synctime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setSynctime(Date synctime) {
        this.synctime = synctime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getOpertime() {
        return opertime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setOpertime(Date opertime) {
        this.opertime = opertime;
    }

    public String getMacId() {
        return macId;
    }

    public void setMacId(String macId) {
        this.macId = macId;
    }

    @Override
    public String toString() {
        return "ProviderCollectionProcess{" +
        "procId=" + procId +
        ", floor=" + floor +
        ", collectStarttime=" + collectStarttime +
        ", collectEndtime=" + collectEndtime +
        ", collectNums=" + collectNums +
        ", collectSpeed=" + collectSpeed +
        ", collectTaken=" + collectTaken +
        ", reinfusionStarttime=" + reinfusionStarttime +
        ", reinfusionEndtime=" + reinfusionEndtime +
        ", reinfusionNums=" + reinfusionNums +
        ", reinfusionSpeed=" + reinfusionSpeed +
        ", reinfusionTaken=" + reinfusionTaken +
        ", antiNums=" + antiNums +
        ", soilNums=" + soilNums +
        ", htc=" + htc +
        ", materialtag=" + materialtag +
        ", synctime=" + synctime +
        ", opertime=" + opertime +
        ", macId=" + macId +
        "}";
    }
}
